// @ts-ignore
/* eslint-disable */

/**
 * 请勿随意修改。
 * */

import { request, type RequestOptions } from '@/utils/request'

/** 回显医院和科室 POST /system/user/searchDepaAndHosp */
export async function tiktokDep(body, options?: RequestOptions) {
  return request(`/system/user/searchDepaAndHosp`, {
    method: 'POST',
    data: body,
    ...(options || {})
  })
}


/** 回显抖音列表搜索条件 GET /meereen/tiktok/listSearchEcho */
export async function tiktokSearchEcho(params, options?: RequestOptions) {
  return request(`/meereen/tiktok/listSearchEcho`, {
    method: 'GET',
    params: {
      ...params
    },
    ...(options || {})
  })
}


/** 回显 运营/商务/渠道/制作人 GET /meereen/tiktok */
export async function tiktokEcho(params, options?: RequestOptions) {
  return request(`/meereen/tiktok`, {
    method: 'GET',
    params: {
      ...params
    },
    ...(options || {})
  })
}


/** 抖音号管理列表 POST /meereen/tiktok/list */
export async function tiktokList(body, options?: RequestOptions) {
  return request(`/meereen/tiktok/list?pageNum=${body.pageNum}&pageSize=${body.pageSize}`, {
    method: 'POST',
    data: body,
    ...(options || {})
  })
}

/** 回显抖音 POST /meereen/tiktok/list */
export async function tiktokUpdateEcho(params, options?: RequestOptions) {
  return request(`/meereen/tiktok/updateUserTiktokEcho`, {
    method: 'GET',
    params: {
      ...params
    },
    ...(options || {})
  })
}


/** 修改抖音号 POST /meereen/tiktok/updateUserTiktok */
export async function tiktokEdit(body, options?: RequestOptions) {
  return request(`/meereen/tiktok/updateUserTiktok`, {
    method: 'POST',
    data: body,
    ...(options || {})
  })
}

/** 抖音号过期授权列表 GET /meereen/tiktok/empower/tiktok */
export async function tiktokAuthList(params, options?: RequestOptions) {
  return request(`/meereen/tiktok/empower/tiktok`, {
    method: 'GET',
    params: {
      ...params
    },
    ...(options || {
      isReturnResult: false
    })
  })
}



